﻿#include "office.h"

#include <QDebug>
#include <QtGlobal>

Office::Office(QString name) : AbstractComponent(name)
{

}

void Office::add(AbstractComponent *component)
{
    qDebug() << "add is not supported in Office";
}

void Office::remove(AbstractComponent *component)
{
    qDebug() << "remove is not supported in Office";
}

AbstractComponent *Office::getComponent(int i)
{
    qDebug() << "getComponent is not supported in Office";
    return Q_NULLPTR;
}
